package com.ss.android.lockscreen.component;

public final class b implements Runnable {
    private final a b;
    private final boolean a;

    public b(a arg1, boolean arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void run() {
        if(com.ss.android.lockscreen.component.a.a(this.b) != null && (com.ss.android.lockscreen.component.a.a(this.b).isShowing())) {
            com.ss.android.lockscreen.component.a.a(this.b).dismiss();
        }

        if(!com.ss.android.lockscreen.component.a.b(this.b)) {
            this.b.a();
            if(this.a) {
                com.ss.android.lockscreen.bb.a();
                com.ss.android.lockscreen.bb.b(this.b);
            }
        }
    }
}

